package com.gzhryc.common.data.dto.echars;

import com.gzhryc.common.data.dto.echars.style.TextStyle;

import java.io.Serializable;

public class Title implements Serializable {

    private String text;        //标题
    private String subtext;     //副标题
    private String x = "center";    //标题X轴位置
    private TextStyle textStyle;

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getSubtext() {
        return subtext;
    }

    public void setSubtext(String subtext) {
        this.subtext = subtext;
    }

    public String getX() {
        return x;
    }

    public void setX(String x) {
        this.x = x;
    }

    public TextStyle getTextStyle() {
        return textStyle;
    }

    public void setTextStyle(TextStyle textStyle) {
        this.textStyle = textStyle;
    }
}
